﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using WebUI.SmartDatingRef;

namespace WebUI {
    public class MsgList {
        private Msg[] _array;

        public MsgList(Msg[] array) {
            _array = array;
        }

        public IEnumerable<Msg> GetMsgs(out int totalCount) {
            totalCount = _array.Length;
            return _array;
        }
    }
}